package com.itheima.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author iTaotao
 * @date 2023/7/26 15:53
 * @desciption: 发布文章
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddArticleDTO implements Serializable {
    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("分类id")
    private String cateid;

    @ApiModelProperty("标签字符串")
    private String tags;

    @ApiModelProperty("图片地址")
    private String pic;

    @ApiModelProperty("正文内容")
    private String content;

    @ApiModelProperty("文章状态 1.草稿 2.发布")
    private String status;
}
